1 General

1.1 Calendar

2 Plots

2.1 Plotly

2.1.1 Main parameters

  1. To differentiate inside figure: name.
  2. layout(title = ““, yaxis = list(title = ’‘), xaxis = list(title =’’) )
  3. config(displayModeBar = FALSE)
  4. add_trace(y = ~kk,name = ’‘, mode = ’lines+markers’)
  • TYPE: ‘bar’, ‘scatter’,‘box’.
  • MODE: ‘lines+markers’

2.1.2 Scatter with groups and marker size

2.1.3 Barplot: 2 groups

2.1.4 2 Pie charts

2.1.5 Boxplots

2.1.6 Funnel basic plot

Directament et passa input a %.

2.1.7 Funnel plot +1 groups

2.2 TreeMap: Interactive treemap

If you click one group, you see the subgroups. To go back, click in ‘General’ bar. If you don’t move the mouse, you see the value of the group.

2.3 vtree: Variable tree

3 Tables

3.1 DT

3.1.1 Main parameters

dom: Defines the table control elements to appear on the page and in what order

  • B: Buttons
  • f: filtering input
  • r: processing display element
  • t: The table
  • i: Table information summary
  • p: pagination control

searching=F -> botó per buscar.
pageLength = -1 -> totes files.

3.1.2 Normal table

3.1.3 Table with double row

3.1.4 Table with colors

3.2 reactable

3.2.1 Heatmap table